﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="JobSearchResult.aspx.cs" Inherits="lcmyjobs.Web.findjobs.JobSearchResult" %>

<%@ Register src="../Controls/TopUserJobsNavigation.ascx" tagname="TopUserJobsNavigation" tagprefix="uc1" %>

<%@ Register src="../Controls/UserAndEnterpriseLogin.ascx" tagname="UserAndEnterpriseLogin" tagprefix="uc2" %>

<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>

<%@ Register src="../Controls/Bottom4.ascx" tagname="Bottom4" tagprefix="uc3" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>职位搜索-全部职位</title>
    <link href="../css/style.css" rel="stylesheet" type="text/css"/>
     <script src="../Scripts/jquery-1.4.1.min.js" type="text/javascript"></script> 
</head>
<body>
    <form id="form1" runat="server">
    <div id="lo_wrap">
		
		<uc1:TopUserJobsNavigation ID="TopUserJobsNavigation1" runat="server" />
		<div class="ny_center">
			<div class="ny_ctleft">
				<uc2:UserAndEnterpriseLogin ID="UserAndEnterpriseLogin1" runat="server" />
				<div class="nygz_login">
					<p class="log_btb">急聘职位</p>
					<div class="xuns_div" style="padding-bottom:2px">
						<asp:Literal ID="lit_ul_isfrist" runat="server"></asp:Literal>
					</div>
				</div>
			</div>
			<div class="ny_right">
				 <div class="tabbox">
                    <p class="nyvip_bt">
                        最新职位</p>
                    <div class="tabcon">
                         <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="enterprise_rid"
                        EnableModelValidation="True"  GridLines="None" CssClass="jpzw_tab">
                        <AlternatingRowStyle BackColor="#ffffff" />
                      
                        <Columns>
                            <asp:TemplateField HeaderText="招聘职位" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left" >
                                <HeaderTemplate>
                                        <span style="float:left">招聘职位</span>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:HyperLink
                                        Style='color: #1e6db0' ID="HyperLink1" runat="server" CssClass="workarea" Text='<%# lcmyjobs.BLL.Tools.GetStrSub(Eval("job_name").ToString(),10) %>'
                                        NavigateUrl='<%# "JobsInfo-"+Eval("enterprise_rid")+".html" %>' Target="_blank"></asp:HyperLink>
                                    <asp:Image ID="Image2" runat="server" ImageUrl='<%# lcmyjobs.BLL.Tools.GetJobFristIcon(Eval("enterprise_rid").ToString()) %>' ImageAlign="AbsBottom" />
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="招聘单位" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left"  >
                                <HeaderTemplate>
                                    <span style="float:left">招聘单位</span>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:HyperLink ID="HyperLink1" runat="server" CssClass="workarea" 
                                        NavigateUrl='<%# "ListVipJobs-"+Eval("enterprise_bid")+".html" %>' 
                                        Style="color: #1e6db0" Text='<%# lcmyjobs.BLL.Tools.GetStrSub(Eval("name").ToString(),17) %>' Target="_blank"></asp:HyperLink>
                                </ItemTemplate>
                                
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="工作地区"  ItemStyle-HorizontalAlign="Left" HeaderStyle-Width="120px"  HeaderStyle-HorizontalAlign="Left"  >
                                <HeaderTemplate>
                                    <span style="float:left">工作地区</span>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:Label ID="Label1" runat="server" CssClass="workarea" Text='<%# lcmyjobs.BLL.Tools.GetStrSub(Eval("area_name").ToString(),7) %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField HeaderText="刷新时间"  HeaderStyle-Width="110px"  DataField="reftime" 
                                DataFormatString="{0:yyyy-MM-dd}" HtmlEncode="false" />
                        </Columns>
                       <RowStyle HorizontalAlign="Center" />
                    </asp:GridView>
                        <div class="fenye">
                  <webdiyer:AspNetPager ID="AspNetPager1" OnPageChanged="AspNetPager1_PageChanged" runat="server" 
                        PageSize="20" CustomInfoTextAlign="Left" 
                        FirstPageText="首页" LastPageText="尾页" NextPageText="下一页" 
                        PrevPageText="上一页" CssClass="paginator" CurrentPageButtonClass="cpb"
                        CustomInfoHTML="&nbsp;共%PageCount%页" LayoutType="Table" 
                        ShowCustomInfoSection="Right" ShowNavigationToolTip="True" 
                        ShowPageIndexBox="Always" PageIndexBoxType="DropDownList" 
                        TextAfterPageIndexBox="&nbsp;页" TextBeforePageIndexBox="跳转至&nbsp;" 
                       CustomInfoSectionWidth="50px" 
                       ShowPageIndex="False" 
                       HorizontalAlign="Right">
                        </webdiyer:AspNetPager>
                        </div>
                    </div>
                </div>
		</div>
		<uc3:Bottom4 ID="Bottom41" runat="server" />
	</div>
        </div>
        
    </form>
</body>
</html>
